package com.qs.questionnairesurveysystem.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "Request body for user login, containing login type, username, and password.")
public class LoginRequest {

    @ApiModelProperty(value = "Login Type: user or admin", example = "admin")
    private String type = "admin";

    @ApiModelProperty(value = "The username of the user trying to log in", example = "john_doe")
    private String username;

    @ApiModelProperty(value = "The password of the user trying to log in", example = "password123")
    private String password;
}
